package com.ftg.learn.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author 布衣
 */
@Schema(name = "保存教师参数")
@Data
public class TeacherUpdateDto {
    @Schema(description = "主键")
    private Integer id;
    @Schema(description = "姓名", format = "string", maximum = "20", minimum = "2", defaultValue = "张三")
    private String teaName;
    @Schema(description = "性别", format = "string", maximum = "1", minimum = "1", defaultValue = "男")
    private String teaSex;
}
